const vFocus = {
  install: (Vue) => {
    Vue.directive('focus', {
      inserted: (el) => {
        const inputDom = el.querySelector('.el-input__inner')
        inputDom.focus()
      }
    })
  }
}
export default vFocus
